import java.util.Objects;

public class one {

    private String _name;
    private int _age;

    public one(String name, int age){
        _name = name;
        _age = age;
    }

    public int get_age() {
        return _age;
    }

    public void set_age(int _age) {
        this._age = _age;
    }

    public String get_name() {
        return _name;
    }

    public void set_name(String _name) {
        this._name = _name;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) return false;
        if (this == obj) return true;
        if ((obj instanceof one) == false) return false;

        one t = (one) obj;


        return _age == t._age && this._name.equals(t._name);
    }


    @Override
    public String toString() {
        return "one{" +
                "_name='" + _name + '\'' +
                ", _age=" + _age +
                '}';
    }
}
